package com.iu.controller;

import com.iu.dao.AccountDao;
import com.iu.dao.AccountDaoImpl;
import com.iu.service.AccountService;
import com.iu.service.AccountServiceImpl;

public class Action {
    AccountService accountService;
    AccountDao accountDao;

    public void setAccountService(AccountService accountService) {
        this.accountService = accountService;
    }

    public void setAccountDao(AccountDao accountDao) {
        this.accountDao = accountDao;
    }

    public void test(){
        accountDao.doUpdata();
        accountService.doTransferAccounts();
    }
}
